import { AttrType } from "../../attr/AttrType";
import { BattleRole } from "../../role/BattleRole";
import { BuffBase } from "../BuffBase";

/**
 * 流血buff
 */
export class BleedBuff extends BuffBase {

    excute(args: { target: BattleRole }): void {
        let bleedResult = {

        }
        console.log("触发流血buff")
        for (let eff of this.effects) {
            eff.excute({ target: args.target, buffData: this.buffData })
        }
        this.duation--;
    }
}